DISCUSSION
Before calling the
ATSUGetLayoutControl function, call the function
ATSUGetAllLayoutControls to obtain an array of the tags and data sizes corresponding to all previously set text layout attribute values for every line in a text layout object. To determine the value of a text layout attribute identified by a particular text layout attribute tag, you should pass the appropriate tag and data size pair passed back in the oAttributeInfoArray array of
ATSUGetAllLayoutControls to
ATSUGetLayoutControl. To determine the value of a text layout attribute value in a single line of a text layout object, call the function
ATSUGetLineControl.